//init miniNav	*topbar配置
//DMZ.expand.miniNav.init({
miniNav.init({
	//广告配置，如无请删除
	/*
	createADs:{
		//广告的源
		source:[
			{url:'',text:'51新炫舞火热内测中',imgUri:'http://static.51img1.com/game'},
			{url:'',text:'51新炫舞官网正式上线'},
			{url:'',text:'51新炫舞内测激活码火热发放中'}
		],
		//广告的交互方式
		method:	function(){
			DMZ.widget.simpleScroll({id:'adsbox',lineheight:40});
		}
	},//end createADs
	*/
	//topbar配置，.site:{}必须；.config:{} .cat:{}各项意义请看.createTopBar()的注释
	createTopBar:{
		//site:{logo:'dmz',name:'51新炫舞',title:'新玩法，老朋友，新炫舞',url:'http://x5.51.com'},
		site:{logo:'dmz',name:'xx5.com',title:'51新炫舞--51.com首款3D网游巨作。新玩法，老朋友，新炫舞！',url:'http://www.xx5.com/'},
		config:{flag:'activity',order:'desc'},
		cat:[
			/**{title:'棋牌游戏',items:[{url:'http://game.51.com',text:'51游戏',iconClass:'game'}]},**/
			{title:'大型游戏',
			items:[
				{url:'http://www.xx5.com/',text:'51新炫舞',iconClass:'dmz'},
				]
			}
		]//end cat
	}//end createTopBar
});

//设置用户状态，建议自行定义，使用方法请看userState()注释
var user = '';
var logout = "index.php?a=logout&jumpto=http%3A%2F%2Fact.xx5.com%2F2016%2Fbbpx2016";
var jsondata = {u:user, url:{login:'', reg:'http://passport.xx5.com/register/', exit:logout}, fn: function(){} };
miniNav.userState(jsondata);
